package com.yushu.authority.service;

import com.baomidou.mybatisplus.service.IService;
import com.yushu.common.execption.CgException;
import com.yushu.common.util.pager.Pages;

import java.util.List;
import java.util.Map;

import com.yushu.authority.pojo.vo.PmOrgVO;
import com.yushu.authority.pojo.bo.PmOrg;


/**
 *
 * @author test
 * @CreateDate 2020-12-03 15:47:25
 */
public interface PmOrgService extends IService<PmOrg> {
   	Pages<PmOrgVO> page(Pages<PmOrgVO> page);

    boolean deleteBatch(List<PmOrg> pmOrgs);

    PmOrg updateByKey(PmOrg pmOrg) throws CgException;

    PmOrgVO queryPmOrgByKey(String id);

    String checkRepeat(Map map);

    List<PmOrg> selectList(PmOrg pmOrg);

    public String validateOrgName(String orgName, String key);
 }